# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-lux
pkgdesc="Motorola Moto X Play"
pkgver=0.2
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-motorola-lux mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="22cce35b84aca2e40e263f5784e7e82da21a1c9cfaa07a875146aedb24c7cdeb7b8ab53b793d104d763cffe21fd026df2ca05575dd314771d21bfc95f871eb0b  deviceinfo
1777c382a73b6e45ee6b4f34b1fd996ad1bae42801dec6de6742f9bf6bf0a0fb5648a7b51ac5b79b7df6d026deca3d4b14a13fae02938e845ed564a9a741c171  initfs-hook.sh"
